/*
 * @Author: June
 * @Date: 2022-11-17 16:27:57
 * @LastEditors: June
 * @LastEditTime: 2022-11-17 16:33:06
 * @Description: 生产管理路由
 *
 */
import Layout from '@/layout'
export const productionManagement = {
  path: '/pm',
  component: Layout,
  redirect: '/pm/materialBom',
  alwaysShow: true,
  meta: {
    title: '生产管理', icon: 'icon-shengchanguanli'
  },
  children: [
    {
      path: 'materialBom',
      name: 'MaterialBom',
      component: () => import('@/views/productionManagement/materialBom'),
      meta: { title: '物料BOM', icon: 'icon-banbenguanli' }
    },
    {
      path: 'processInformation',
      name: 'ProcessInformation',
      component: () => import('@/views/productionManagement/processInformation'),
      meta: { title: '工序信息', icon: 'icon-gongxu' }
    },
    {
      path: 'planOfProduction',
      name: 'PlanOfProduction',
      component: () => import('@/views/productionManagement/planOfProduction'),
      meta: { title: '生产计划', icon: 'icon-a-programofproduction' }
    },
    {
      path: 'jobScheduling',
      name: 'JobScheduling',
      component: () => import('@/views/productionManagement/jobScheduling'),
      meta: { title: '作业排程', icon: 'icon-a-programofproduction' }
    }
    // {
    //   path: 'workshopCompletionStatistics',
    //   name: 'WorkshopCompletionStatistics',
    //   component: () => import('@/views/productionManagement/workshopCompletionStatistics'),
    //   meta: { title: '车间完工统计', icon: 'icon-shouyichejian' }
    // },
  ]
}
